
<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
	<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>{$title}</title>
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="龙窝个人工作室！" />
	<meta name="keywords" content="龙窝工作室,白龙,糖醋里脊,龙窝,许愿墙,凡君阿,425084984,简文" />

	<include file="blog@head"/>
	<script type="text/javascript" src="__TMPL__/public/view/layer/layer.js"></script>
	<aside id="fh5co-hero" class="js-fullheight">
		<div class="flexslider js-fullheight">
			<ul id="tar" class="slides">
		   	<li style="background-image: url(__TMPL__/public/view/images/slide11.jpg);">
		   		<div class="overlay-gradient"></div>
		   		<div class="container">
		   			<div class="col-md-10 col-md-offset-1 text-center js-fullheight slider-text">
		   				<div class="slider-text-inner">
		   					<h2>{{message}}</h2>
		   					<p class="fh5co-lead"><i class="icon-heart"></i> <a style="color: white" href="{:cmf_url('blog/list/writesimplearticle')}">{{text1}} </a>  </p>
		   				</div>
		   			</div>
		   		</div>
		   	</li>
		  	</ul>
	  	</div>
	</aside>
		<script>
			var tar = new Vue({
				el:'#tar',
				data:{
				    message:'这应该是星空，或者又叫宇宙。',
					text1:'写下属于你自己的简文',
                    text2:'做你想做的'
				}
			})
		</script>

	<div id="fh5co-work-section" class="fh5co-light-grey-section" style="padding: 4em 0 1em 0">
		<div class="container">
			<div class="row simplearticle">
				<volist name="data" id="v">
				<div class="col-md-4 animate-box">
					<a href="{:cmf_url('blog/list/listcontent',['id'=>$v['jw_id']])}" target="_blank" class="item-grid text-center">
						<div class="v-align">
							<div class="v-align-middle">
								<h3 class="title">{$v.jw_title}</h3>
								<h5 class="category">{$v.jw_area}</h5>
								<h6 class="category">{$v.jw_time}</h6>
							</div>
						</div>
					</a>
				</div>
				</volist>
			</div>
			<div class="col-md-12 text-center animate-box">
				<input class="lastid" type="text" value="{$lastid}" style="display: none;">
				<p><a class="btn btn-primary with-arrow loadmore">点击加载更多<i class="icon-arrow-right"></i></a></p>
			</div>
		</div>
	</div>

		<script>
            $(".loadmore").click(function(){
                var lastid = $(".lastid").val();
				$.ajax({
					url:'/blog/list/clickloadmore',
					type:"post",
					data:{
						lastID:lastid
					},
					success:function(data){
					var ress= $.parseJSON(data);
					if (ress.status_id == 200){
                        var lsatagainid = ress['data'][0]['jw_id'];
                        if(lsatagainid <= 6){
                            layer.msg('加载到底了~');
                            $(".loadmore").hide();
						}
                        $(".lastid").val(lsatagainid);
                        $.each(ress['data'], function (n, value) {
                            $('.simplearticle').append(
                                "<div class=\"col-md-4 animate-box fadeInUp animated\">"+
                                "<a href=\"/blog/list/listcontent/id/"+value.jw_id+".html\" class=\"item-grid text-center\">"+
                                "<div class=\"v-align\">"+
                                "<div class=\"v-align-middle\">"+
                                "<h3 class=\"title\">"+value.jw_title+"</h3>"+
                                "<h5 class=\"category\">"+value.jw_area+"</h5>"+
                                "<h6 class=\"category\">"+value.jw_time+"</h6>"+
                                "</div>"+
                                "</div>"+
                                "</a>"+
                                "</div>"
                            );
                        });
					}
				},
					error:function(e){

				}
				});
            });
		</script>

	<div class="fh5co-cta" style="background-image: url(__TMPL__/public/view/images/slide9.jpg);">
		<div class="overlay"></div>
		<div class="container">
			<div class="col-md-12 text-center animate-box">
				<h3>你是不是想对我说点什么？</h3>
				<p><a href="{:cmf_url('blog/message/index')}" class="btn btn-primary btn-outline with-arrow">Say ！<i class="icon-arrow-right"></i></a></p>
			</div>
		</div>
	</div>

		<include file="blog@foot"/>
</html>

